package org.ace.logic.user.dto;

public class PlayerItemDTO implements Comparable<PlayerItemDTO> {
	public Integer gdCode;
	public Integer count;
	public Integer grid;
	
	@Override
	public int compareTo(PlayerItemDTO o)
	{
		if(o.grid>grid)
		{
			return -1;
		}
		if(o.grid<grid)
		{
			return 1;
		}
		return 0;
	}
}
